GET api/list/pm/events?pageSize={pageSize}&pageNumber={pageNumber}&accountIds[0]={accountIds[0]}&accountIds[1]={accountIds[1]}&tenancyRoleId={tenancyRoleId}&order={order}

Returns a list of Events in PM

Request Information

URI Parameters

NameDescriptionTypeAdditional information
pageSize

integer

Default value is 20

pageNumber

integer

Default value is 1

accountIds

Collection of integer

None.

tenancyRoleId

integer

None.

order

Dezrez.Core.DataContracts.External.Api.Lists.ListOrder

Default value is Ascending

Body Parameters

None.

Response Information

Resource Description

PagedCollectionDataContractOfDezrez.Core.DataContracts.External.Api.Lists.Accounting.AccountingEventDataContract
NameDescriptionTypeAdditional information
TotalCount

integer

None.

CurrentCount

integer

None.

PageSize

integer

None.

PageNumber

integer

None.

Collection

Collection of Dezrez.Core.DataContracts.External.Api.Lists.Accounting.AccountingEventDataContract

None.

Response Formats

application/json, text/json

Sample:
{
  "TotalCount": 1,
  "CurrentCount": 2,
  "PageSize": 1,
  "PageNumber": 1,
  "Collection": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "AccountId": 3,
      "Description": "sample string 4",
      "CreatedDate": "2024-11-21T09:46:24.4114357Z",
      "EventType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "CreatedById": 6
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "AccountId": 3,
      "Description": "sample string 4",
      "CreatedDate": "2024-11-21T09:46:24.4114357Z",
      "EventType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "CreatedById": 6
    }
  ]
}